package com.flower.domain.entity;

import java.util.Date;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (BackageUser)表实体类
 *
 * @author lizheng
 * @since 2022-10-09 17:37:32
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("backage_user")
public class BackageUser  {
    //后台用户主键@TableId
    @TableId
    private Long id;

    //用户账号
    private String name;
    //用户密码
    private String password;
    //用户昵称
    private String nickName;
    //最后一次登录时间
    @TableField(fill = FieldFill.INSERT)
    private Date recentLoginTime;
    //最后一次登出时间
    private Date recentLogoutTime;
    //创建人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String creator;
    //账号状态(0停用 1启用)
    private Integer accountStatus;
    //修改人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String modifier;
    //创建时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;
    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //逻辑删除
    @TableField(fill = FieldFill.INSERT)
    private Integer isDel;
    //用户头像地址
    private String avater;
    //用户权限
    private String authority;

}

